package repository

import (
	"context"
	"github.com/starmotioncf/soutchatinternal/model"
)

type GoldRepository interface {
	// GetGoldType 获取一个金币类型
	GetGoldType(ctx context.Context, typ int) (m *model.GoldType, err error)
	// GetGoldFlowRecord 获取用户金币流水
	GetGoldFlowRecord(ctx context.Context, uid uint64, id int64) (m []*model.GoldRecord, err error)
	// GetDiamondFlowRecord 获取用户钻石流水
	GetDiamondFlowRecord(ctx context.Context, uid uint64, id int64) (m []*model.DiamondRecord, err error)
}
